package com.yuandengta.yomall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuandengta.common.utils.PageUtils;
import com.yuandengta.yomall.product.entity.SpuInfoEntity;
import com.yuandengta.yomall.product.vo.SpuVO;

import java.util.Map;

/**
 * spu信息
 *
 * @author OptimisticDevelopers
 * @email example51315@qq.com
 * @date 2020-12-22 22:26:51
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);


    /**
     * 发布商品
     * @param spuVO
     */
    void saveSpuInfo(SpuVO spuVO);

    /**
     * SPU检索
     * @param params
     * @return
     */
    PageUtils queryPageByCondition(Map<String, Object> params);
}

